package com.tsll.dao;

import com.tsll.entity.User;
import com.tsll.vo.Result;
import com.tsll.vo.StaffVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 孙旭
 * @description 针对表【user】的数据库操作Mapper
 * @createDate 2024-03-21 09:44:11
 * @Entity com.tsll.entity.User
 */
public interface UserMapper {

 int deleteByPrimaryKey(Integer id);

 int insert(User record);

 int insertSelective(User user);

 User selectByPrimaryKey(Long id);

 int updateByPrimaryKeySelective(User user);

 int updateByPrimaryKey(User record);
 List<User> selectAlls(StaffVo staffVo);
 User getusershu();
 User selectByCount(String no);
 User isEmpty(@Param("account") String account, @Param("password") String password);
 int updateScore(Integer id);
}


